<?php
namespace app\api\validate;
use think\Validate;

class Account extends Validate{
    protected $rule =
    [
        'telphone'=>'require',
        'password'=>'require',
        'pwd2'=>'require'
    ];
    protected $message  =
    [
        'telphone.require'=>'电话号码不能为空',
        'password.require'=>'密码必须填写',
        'pwd2.require'=>'密码必须填写'
    ];
}